package com.zsx.shopping.ware.service;

import com.zsx.shopping.common.api.ware.dto.LockStockDto;
import com.zsx.shopping.ware.entity.OrderStockTask;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface OrderStockTaskService extends IService<OrderStockTask> {

    void lockStock(LockStockDto lockStockDto);

    void releaseStock(Long orderId);

    void reduceStock(Long orderId);
}
